﻿using SqlSugar;

namespace Entity.Models;

[SugarTable(TableDescription = "用户表")]
public class SysMenu
{
    [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键Id")]
    public int Id { get; set; }

    [SugarColumn(Length = 50, IsNullable = true, ColumnDescription = "菜单名称")]
    public string? MenuHeader { get; set; }

    [SugarColumn(ColumnDescription = "菜单地址")]
    public string? TargetView { get; set; }

    [SugarColumn(ColumnDescription = "菜单图标")]
    public string? MenuIcon { get; set; }

    [SugarColumn(ColumnDescription = "父菜单Id")]
    public int? ParentId { get; set; }

    [SugarColumn(ColumnDescription = "菜单排序")]
    public int? MenuIndex { get; set; }

    [SugarColumn(ColumnDescription = "菜单类型")]
    public int? MenuType { get; set; }

    [SugarColumn(ColumnDescription = "菜单状态")]
    public int? State { get; set; }
}